<ul id="gallery-album" class="default">
	<?php foreach ((array)$this->data as $row):?>
	<li><a href="/upload/gallery/preview/<?php print $this->escape($row['image'])?>"><img alt="<?php print $row['name']?>" src="/upload/gallery/small/<?php print $this->escape($row['image'])?>"></a>
  		<?php if (strlen($row['name'])):?>
		<h5 class="name"><?php print $this->escape($row['name'])?></h5>
		<?php endif;?>
		<?php if (strlen($row['description'])):?>
		<div class="description"><?php print $row['description']?></div>
		<?php endif;?>
  	</li>
	<?php endforeach;?>
</ul>